#include <iostream>
#include <vector>
#include <string>
#include "components/codeml.h"


using std::cerr;

int main (int argc, char *argv[])
{
	if (argc != 2)
	{
		cerr << "Supply codeml test output as first argument please\n";
		return 1;
	}
	
	std::vector<t_codeml_results> results;
	std::vector<std::string> names;
	names.push_back("seq_a");
	names.push_back("seq_b");
	std::string error_string;
	parse_codeml_results(	results,
							names,
							error_string,
							argv[1]);

	cerr << t_codeml_results::comma_delimited_fields() << "\n" << results[0] << std::endl;
	return 0;
}

